import request from "../utils/request.js"


export const getAddressListAPI = (params) => request.get("/address/list",{params});

export const addAddressAPI = (data) => request.post("/address/add",data);
export const delAddressAPI = (data) => request.post("/address/delete",data);
export const updateAddressAPI = (data) => request.post("/address/update",data);
export const getDefaultAddressAPI = (data) => request.post("/address/defaultAddress",data);
